import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:largefriends/res/lf_double_ext.dart';
import 'package:largefriends/res/strings/lf_strings.dart';

import '../../res.dart';
import '../../res/lf_fonts.dart';
import '../../res/lf_text_style.dart';

class LfMessageEmpty extends StatelessWidget {
  const LfMessageEmpty({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return LayoutBuilder(builder: (context, constant) {
      return Container(
        height: constant.maxHeight,
        alignment: Alignment.center,
        padding: EdgeInsets.symmetric(horizontal: 30.w),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Image.asset(Res.common_empty_no_user),

            ///TODO
            16.h.sbh,
            Text(
              strNoMessageYet.tr,
              style: lfTextStyle(sp: 18.sp, fontFamily: fontMedium),
              textAlign: TextAlign.center,
            ),
            20.h.sbh,
          ],
        ),
      );
    });
  }
}
